home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 201-225 / disk_218 / edlib / man / strpbrk < prev    next >
Text File  |  1992-05-06  |  895b  |  36 lines

  1. STRPBRK(3)                 Library Functions                STRPBRK(3)
  2.  
  3.  
  4.  
  5. NAME
  6.      strpbrk - find the first occurance of a character of a set in
  7.      a string
  8.  
  9. SYNOPSIS
  10.      #include <edlib.h>
  11.  
  12.      char *strpbrk(str, charset)
  13.      char *str, *charset;
  14.  
  15. DESCRIPTION
  16.      Strpbrk searches forwards through the null terminated string
  17.      'str' for occurances of a character included in the character
  18.      set 'charset'. The 'charset' variable is null terminated string
  19.      that is treated as a character set. Therefore, repetition and
  20.      order are ignored. Strpbrk returns a pointer to the first
  21.      character of 'charset' that is found in 'str'.
  22.  
  23. DIAGNOSTICS
  24.      If no character in 'charset' is found in 'str', then a null
  25.      pointer (NULL) is returned.
  26.  
  27. AUTHOR
  28.      Daniel J. Barrett.
  29.      barrett@cs.jhu.edu or ins_adjb@jhunix.UUCP
  30.  
  31. SEE ALSO
  32.      strrpbrk(3), strcspn(3), strspn(3)
  33.  
  34.  
  35.  
  36.